//
//  PayPatternCell.m
//  ZZLC
//
//  Created by 杨春至 on 2017/12/15.
//  Copyright © 2017年 ZhongZeng. All rights reserved.
//

#import "PayPatternCell.h"

@implementation boModel

@end

@interface PayPatternCell ()
@property (weak, nonatomic) IBOutlet UIImageView *iconImage;
@property (weak, nonatomic) IBOutlet UILabel *titleLb;
@property (weak, nonatomic) IBOutlet UILabel *detailLb;
@property (weak, nonatomic) IBOutlet UIImageView *choocedImage;


@end

@implementation PayPatternCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
- (void)setModel:(boModel *)model{
    _model = model;
    _iconImage.image = UIImageMake(_model.icon);
    _titleLb.text = _model.titleStr;
    _detailLb.text = _model.detilStr;
    if ([_model.ischoosed isEqualToNumber:@0]) {
        _choocedImage.hidden = YES;
    }else{
        _choocedImage.hidden = NO;
    }
}
@end
